onrequest Event (Busdataisland) |
This event is fired when a SOAP message is sent using XMLHTTP to the Gateway.
Syntax
Inline HTML |
<div cordysType="wcp.libaray.data.BusDataIsland id= "busdataislandID" onrequest="handler()"...> </div> |
Event property |
busdataislandID.onrequest = handler |
Event Information
To Invoke |
Send a request to the back end through busdataisland through sendAndWait or reset methods. |
Default Action |
Sends the request to the back end through XMLHTTP and initiates any action associated with this event. |
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.
Property |
Description |
---|---|
async |
Boolean that indicates whether the request sent to the Web server is asynchronous.
|
method |
String that contains the method through which request can be sent to the Gateway. This is the method parameter defined in the open method of the XMLHTTP object. |
parameters |
Array that contains a collection of all the parameters that can be appended to the URL of the gateway. |
requestXML |
Object that contains the SOAP message which is sent as a request to the gateway. |
returnValue |
Boolean that sets or retrieves one of the following values
|
url |
String that contains the URL address of the gateway to which the request will be sent. |
Note: If the system component is attached to the HTML page, or if the application is a part of the Process Platform Ajax Toolkit framework, then the onrequest event of system will also be fire after this event.